{foreach from=$aMenuItems item=aMenuItem key=iKey}
{if $aMenuItem.mem_only == '0' || $aMenuItem.mem_only == '1' &&  $isMember || $aMenuItem.mem_only == '2' && !$isMember}
{if !$aMenuItem.shutdown}
 	<a href="{url link=$aMenuItem.url bVerifyUrl=true}">{if $aMenuItem.is_module}{language text=$aMenuItem.title}{else}{$aMenuItem.title}{/if}</a> |
{/if}
{/if}
{/foreach}